package com.siki.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient // 加了这个注解会把这个服务注册到Eureka中
@EnableDiscoveryClient
public class ProviderApplication3 {
    public static void main(String[] args) {
        new SpringApplication().run(ProviderApplication3.class, args);
    }
}

